home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
lib
/
python2.4
/
encodings
/
cp874.pyo
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2005-10-18
|
4KB
|
166 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.4)
""" Python Character Mapping Codec generated from 'CP874.TXT' with gencodec.py.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
(c) Copyright 2000 Guido van Rossum.
"""
import codecs
class Codec(codecs.Codec):
def encode(self, input, errors = 'strict'):
return codecs.charmap_encode(input, errors, encoding_map)
def decode(self, input, errors = 'strict'):
return codecs.charmap_decode(input, errors, decoding_map)
class StreamWriter(Codec, codecs.StreamWriter):
pass
class StreamReader(Codec, codecs.StreamReader):
pass
def getregentry():
return (Codec().encode, Codec().decode, StreamReader, StreamWriter)
decoding_map = codecs.make_identity_dict(range(256))
decoding_map.update({
128: 8364,
129: None,
130: None,
131: None,
132: None,
133: 8230,
134: None,
135: None,
136: None,
137: None,
138: None,
139: None,
140: None,
141: None,
142: None,
143: None,
144: None,
145: 8216,
146: 8217,
147: 8220,
148: 8221,
149: 8226,
150: 8211,
151: 8212,
152: None,
153: None,
154: None,
155: None,
156: None,
157: None,
158: None,
159: None,
161: 3585,
162: 3586,
163: 3587,
164: 3588,
165: 3589,
166: 3590,
167: 3591,
168: 3592,
169: 3593,
170: 3594,
171: 3595,
172: 3596,
173: 3597,
174: 3598,
175: 3599,
176: 3600,
177: 3601,
178: 3602,
179: 3603,
180: 3604,
181: 3605,
182: 3606,
183: 3607,
184: 3608,
185: 3609,
186: 3610,
187: 3611,
188: 3612,
189: 3613,
190: 3614,
191: 3615,
192: 3616,
193: 3617,
194: 3618,
195: 3619,
196: 3620,
197: 3621,
198: 3622,
199: 3623,
200: 3624,
201: 3625,
202: 3626,
203: 3627,
204: 3628,
205: 3629,
206: 3630,
207: 3631,
208: 3632,
209: 3633,
210: 3634,
211: 3635,
212: 3636,
213: 3637,
214: 3638,
215: 3639,
216: 3640,
217: 3641,
218: 3642,
219: None,
220: None,
221: None,
222: None,
223: 3647,
224: 3648,
225: 3649,
226: 3650,
227: 3651,
228: 3652,
229: 3653,
230: 3654,
231: 3655,
232: 3656,
233: 3657,
234: 3658,
235: 3659,
236: 3660,
237: 3661,
238: 3662,
239: 3663,
240: 3664,
241: 3665,
242: 3666,
243: 3667,
244: 3668,
245: 3669,
246: 3670,
247: 3671,
248: 3672,
249: 3673,
250: 3674,
251: 3675,
252: None,
253: None,
254: None,
255: None })
encoding_map = codecs.make_encoding_map(decoding_map)